package com.javasm.domin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljy
 * @since 2022-01-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("aftersale_out_depot")
public class AftersaleOutDepot  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 出库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime outTime;

    /**
     * 出库状态 0 未出库 1 已出库
     */
    private Integer outStatus;

    /**
     * 出库类型 1 返厂维修出库 2 退换出库
     */
    private Integer outType;

    /**
     * 返厂后串码
     */
    private Integer outSn;

    /**
     * 串号是否变更
     */
    private Integer snIschange;

    /**
     * 库管名
     */
    private String depotAdmin;

    /**
     * 备注
     */
    private String message;


}
